package com.example.team.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/****
 * 编写者：沈超
 * 时间：2023/10/31
 * 员工信息-实体
 */
public class Property {
    private int Id;

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getPropertyId() {
        return PropertyId;
    }

    public void setPropertyId(String propertyId) {
        PropertyId = propertyId;
    }

    public String getPartId() {
        return PartId;
    }

    public void setPartId(String partId) {
        PartId = partId;
    }

    public String getWorkSchedule() {
        return WorkSchedule;
    }

    public void setWorkSchedule(String workSchedule) {
        WorkSchedule = workSchedule;
    }


    private String PropertyId;
    private String PartId;
    private String WorkSchedule;

    public Date getWorkTime() {
        return WorkTime;
    }

    public void setWorkTime(Date workTime) {
        WorkTime = workTime;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date WorkTime;
}
